<?php
Yii::setPathOfAlias('root', dirname(dirname(dirname(__FILE__))));
Yii::setPathOfAlias('common', dirname(dirname(dirname(__FILE__))) . DS . 'common');
Yii::setPathOfAlias('frontend', dirname(dirname(dirname(__FILE__))) . DS . 'protected');
Yii::setPathOfAlias('system', dirname(dirname(dirname(__FILE__))) . DS . 'common'.DS.'libs'.DS.'framework');
// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');

// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
return CMap::mergeArray(
	require_once dirname(__FILE__).'/params.php',
	array(
		'import'=>array(
				'common.components.*',
				'common.models.db.*',
				'common.extensions.giix-components.*',
				'common.extensions.giix-core.*'
		),
	// application components
	'components'=>array(
		'db'=>array(
			'connectionString' => 'mysql:host=localhost;dbname=ism-web',
			'emulatePrepare' => true,
			'username' => 'root',
			'password' => '123456',
			'charset' => 'utf8',
			'tablePrefix' => 'tbl_',
		),
	),

	)
);